package com.kmx.demo.datagen;

import com.kmx.demo.utils.K2FileUtils;

public class Help {

	public static void genConfigFile() {

		K2FileUtils.backupAndRebuildDir("conf");
		String contents = "outputDir=demoData\n" + "sdmServerIp=127.0.0.1\n" + "filegroupNum=1\n" + "assetsNumPerFg=3\n"
				+ "startTime=2016-12-01T01:00:00.000+08:00\n" + "duration=30d\n" + "dataFreq=60000\n"+ "genMetadata=true\n" + "isContainExData=true\n"+ "terminator=,";
		K2FileUtils.writeContentsToFile("conf/config.properties", contents);
	}

	public static void showParametersList() {

	}

	public static void main(String[] args) {
		genConfigFile();
	}

}
